home *** CD-ROM | disk | FTP | other *** search
/ Tripas 5 / TRIPAS 005.iso / Wos.EXE / 2015 / models / mortician.def < prev    next >
Encoding:
Text File  |  1999-02-24  |  10.9 KB  |  344 lines

  1. SDEF
  2. // SINED SECTION
  3. //
  4. /*SINED Monster_Mortician_Normal (1 .5 0) (0 0 0) (0 0 0)
  5. Mortician with a magnum
  6. */
  7.  
  8. path models/mortician
  9.  
  10. // Model Commands
  11. scale 1.5
  12.  
  13. //Skin
  14. normal    mort_05a.tga
  15. //mort_05b.tga
  16. //mort_05c.tga
  17. //mort_05d.tga
  18. //mort_05e.tga
  19. damage    mort_damage_05a.tga
  20. //mort_damage_05b.tga
  21. //mort_damage_05c.tga
  22. //mort_damage_05d.tga
  23. //mort_damage_05e.tga
  24.  
  25. //Base model
  26. mort_base.sbm
  27.  
  28. // Normal Animations
  29. idle1            idlea.sam
  30. twitch1        idleb.sam
  31. twitch2        idlec.sam
  32. fire            shoot.sam
  33. //fire2            shoot2.sam
  34. run            walk.sam
  35. walk            walk.sam
  36. melee            step_punch.sam
  37.  
  38. // Pain Location Based Animations
  39. pain1            pain_normal.sam
  40. pain_back        pain_back.sam
  41. pain_chest        pain_front.sam
  42. pain_head        pain_head.sam
  43. pain_left_arm    pain_left_arm.sam
  44. pain_left_leg    pain_left_leg.sam
  45. pain_right_arm    pain_right_arm.sam
  46. pain_right_leg    pain_right_leg.sam
  47.  
  48. // Death Location Based Animations
  49. death1           deatha.sam
  50. death2           deathb.sam
  51. death3        deathc.sam
  52. death4        deathd.sam
  53. death5        deathe.sam
  54.  
  55. // Crouching Pain Location Based Animations
  56.  
  57. // Crouching Death Location Based Animations
  58.  
  59. // Optional Animations
  60. //melee_aim        embalm_open.sam
  61. //melee_a        embalm_extend.sam
  62. //melee_hit        embalm_extend.sam
  63. //melee_miss        embalm_extend.sam
  64. //melee_b        embalm_withdraw.sam
  65. //melee_c        embalm_withdraw.sam
  66. //melee_unaim        embalm_close.sam
  67. strafe_left        strafe_left.sam
  68. strafe_right    strafe_right.sam
  69.  
  70. // Leaping Around Animations
  71. jump_forward        jump_forward.sam
  72. jump_left            jump_left.sam
  73. jump_right            jump_right.sam
  74. jump_back            jump_up_back.sam
  75.  
  76. jump_forward_inair    jump_forward_post.sam
  77. jump_left_inair        jump_left_post.sam
  78. jump_right_inair        jump_right_post.sam
  79. jump_back_inair        jump_back_post.sam
  80.  
  81. //land            land_forward.sam
  82. land_forward        land_forward.sam
  83. land_left            land_left.sam
  84. land_right            land_right.sam
  85. land_back            land_back.sam
  86. //land_left_kick        land_left_kick.sam
  87. //land_right_kick        land_right_kick.sam
  88. land_down            land_up.sam    
  89. //land_still        land_upshort.sam
  90.  
  91. air_flip            jump_flip.sam    
  92. air_idle            jump_idle.sam
  93. air_shoot            jump_shoot.sam
  94.  
  95. step_left            strafe_left.sam
  96. step_right            strafe_right.sam
  97.  
  98. // Scripted Animations
  99. step_punch        step_push.sam
  100. //embalm        dead_guy_start.sam
  101. //embalm_loop        dead_guy_loop.sam
  102. //embalm_finish    dead_guy_end.sam
  103.  
  104. // Id And Group Definitions
  105. id 10 group head flesh
  106. group head damage 2.0
  107. id 20 group torso_front flesh
  108. group torso_front damage 1.2
  109. id 22 group torso_back flesh
  110. group torso_back damage 1
  111. id 30 group leg_left flesh
  112. group leg_left damage 0.4
  113. id 40 group leg_right flesh
  114. group leg_right damage 0.4
  115. id 50 group arm_left flesh
  116. group arm_left damage 0.7
  117. id 60 group arm_right  flesh
  118. group arm_right damage 1
  119. id 100 group gunhand bone gun -115 60 20 2015attach flesh
  120.  
  121.  
  122. //
  123. // INITIALIZATION SECTION
  124. //
  125. !init:
  126.  
  127. //
  128. // SERVER Initialization Commands
  129. //
  130.  
  131. // Class Setup
  132. server classname mortician
  133. server setsize "-22 -22 0" "22 22 70"
  134. server crouchsize "-22 -22 0" "22 22 70"
  135. server script global/mortician.scr
  136. server weapon magnum
  137. server health 250
  138. //server health 400
  139. server meleerange 25
  140. server meleedamage 30
  141. server painthreshold 25
  142.  
  143. server ifskill 0 aim 0.5
  144. server ifskill 1 aim 0.6
  145. server ifskill 2 aim 0.7
  146.  
  147.  
  148. // Sound Aliases
  149.  
  150. // The mortician is a very intelligent mutant, but he doesn't talk.
  151. // We want him to give the impression of a well-trained killer who
  152. // doesn't feel the need to bad-mouth you when he's fighting.  He
  153. // laughs quietly, and grunts when appropriate, and maybe says
  154. // a few words occasionally, but no stupid inhuman roaring or anything.
  155. // Many of the sounds are more body sounds, for example, he has claws so
  156. // he sounds like a dog when walking around, his twitch animations
  157. // invlove scratching his head, and his embalmer makes noise as it 
  158. // extends towards the player and attaches to him.
  159.  
  160. server aliascache snd_sight1     "monsters/mortician/site1.wav" 1
  161. server aliascache snd_sight2     "monsters/mortician/site2.wav" 1
  162. server aliascache snd_sight3     "monsters/mortician/site3.wav" 1
  163. server aliascache snd_sight4     "monsters/mortician/site4.wav" 1
  164.  
  165. server aliascache snd_idle1      "monsters/mortician/idle1.wav" 1
  166. server aliascache snd_idle2      "monsters/mortician/idle2.wav" 1
  167. server aliascache snd_idle3      "monsters/mortician/idle3.wav" 1
  168.  
  169. server aliascache snd_twitch1      "monsters/mortician/idle4.wav" 1
  170. server aliascache snd_twitch2      "monsters/mortician/idle5.wav" 1
  171.  
  172. server aliascache snd_pursuit1   "monsters/mortician/purs1.wav" 1
  173. server aliascache snd_pursuit2   "monsters/mortician/purs2.wav" 1
  174. //server aliascache snd_pursuit3   "monsters/mortician/purs3.wav" 1
  175. server aliascache snd_pursuit4   "monsters/mortician/purs4.wav" 1
  176.  
  177. //
  178. // CLIENT Initialization Commands
  179. //
  180.  
  181. // Sound Aliases
  182. client aliascache    snd_attack1    "monsters/mortician/attack1.wav" 1
  183. client aliascache snd_attack2    "monsters/mortician/attack2.wav" 1
  184. client aliascache snd_attack3    "monsters/mortician/attack3.wav" 1
  185.  
  186. client aliascache snd_death1     "monsters/mortician/death1.wav" 1
  187. client aliascache snd_death2     "monsters/mortician/death2.wav" 1
  188. client aliascache snd_death3     "monsters/mortician/death3.wav" 1
  189.  
  190. client aliascache snd_pain1      "monsters/mortician/pain1.wav" 1
  191. client aliascache snd_pain2      "monsters/mortician/pain2.wav" 1
  192. client aliascache snd_pain3      "monsters/mortician/pain3.wav" 1
  193. client aliascache snd_pain4      "monsters/mortician/pain4.wav" 1
  194.  
  195. client aliascache stepsound1      "monsters/mortician/pain5.wav" 1
  196. client aliascache stepsound2      "monsters/mortician/pain5.wav" 1
  197. client aliascache stepsound3      "monsters/mortician/pain5.wav" 1
  198.  
  199. client aliascache jump1             "monsters/mortician/pain5.wav" 1
  200. client aliascache jump2             "monsters/mortician/pain5.wav" 1
  201. client aliascache jump3             "monsters/mortician/pain5.wav" 1
  202.  
  203. // Landsteps are louder footsteps, for when he lands.  I'm not anticipating him
  204. // making any other sound when he lands.
  205. //client aliascache landstep1         "monsters/mortician/vulpain4.wav" 1
  206. //client aliascache landstep2         "monsters/mortician/vulpain4.wav" 1
  207. //client aliascache landstep3      "monsters/mortician/vulpain4.wav" 1
  208.  
  209. client aliascache snd_kneefall1  "impact/bodyfall/sml1.wav" 1
  210. client aliascache snd_kneefall2  "impact/bodyfall/sml2.wav" 1
  211. client aliascache snd_partfall1  "impact/bodyfall/med1.wav" 1
  212. client aliascache snd_partfall2  "impact/bodyfall/med2.wav" 1
  213. client aliascache snd_partfall3  "impact/bodyfall/med3.wav" 1
  214. client aliascache snd_bodyfall1  "impact/bodyfall/lrg1.wav" 1
  215. client aliascache snd_bodyfall2  "impact/bodyfall/lrg2.wav" 1
  216.  
  217. // There is one scripted animation where he hits the player with his gun, so 
  218. // we need a sound for that.  The whoosh one is fine as it is though
  219. client aliascache snd_punch    "weapons/punch/whsh1.wav" 1
  220. client aliascache snd_miss    "weapons/punch/whsh2.wav" 1
  221.  
  222. // He has a long mechanical tentacle thing in his right arm, which he extends into
  223. // the player to grab him and hurt him with, and this needs sounds for opening,
  224. // extending (short and loopable), attaching to the player, missing the player, 
  225. // striking a wall, retracting either under load or not, and closing again.
  226. //client aliascache embalm_open        "weapons/punch/whsh1.wav" 1
  227. //client aliascache embalm_extend1    "weapons/punch/whsh1.wav" 1
  228. //client aliascache embalm_extend2    "weapons/punch/whsh1.wav" 1
  229. //client aliascache embalm_attach1    "weapons/punch/whsh1.wav" 1
  230. //client aliascache embalm_attach2    "weapons/punch/whsh1.wav" 1
  231. //client aliascache embalm_miss        "weapons/punch/whsh1.wav" 1
  232. //client aliascache embalm_retract1    "weapons/punch/whsh1.wav" 1
  233. //client aliascache embalm_retract2    "weapons/punch/whsh1.wav" 1
  234. //client aliascache embalm_pull1    "weapons/punch/whsh1.wav" 1
  235. //client aliascache embalm_pull2    "weapons/punch/whsh1.wav" 1
  236. //client aliascache embalm_close    "weapons/punch/whsh1.wav" 1
  237.  
  238.  
  239. //
  240. // SHARED initialization commands
  241. //
  242.  
  243. // Sound Aliases
  244.  
  245. //
  246. // MAIN SECTION
  247. //
  248. !main:
  249.  
  250. // Animation tricky manipulation stuff
  251. server air_idle last nextanim air_idle
  252. //server melee_a last nextframe 0
  253. //server melee_hit first setframe 10
  254. //server melee_miss first setframe 10
  255.  
  256.  
  257. // Normal Animations
  258. //client walk 2 randomsound footstep 1 2
  259. client walk 2  footstep
  260. //client walk 7 randomsound footstep 1 2
  261. client walk 7  footstep
  262. server walk 7 movementsound
  263.  
  264. server fire 4 fire
  265. //server fire2 3 fire
  266. server air_shoot 1 fire
  267. server melee 3 melee
  268.  
  269. //server melee_aim    2  movementsound
  270. //client melee_aim    1  randomsound embalm_open 1 2
  271. //server melee_a    1  melee
  272. //client melee_a    1  randomsound embalm_extend 1 1
  273. //client melee_a    5  randomsound embalm_extend 1 1
  274. //client melee_a    9  randomsound embalm_extend 1 1
  275. //server melee_hit    1  melee
  276. //client melee_hit    1  randomsound embalm_hit 1 1
  277. //server melee_miss    1  melee
  278. //client melee_miss    1  randomsound embalm_miss 1 1
  279. //server melee_b    1  melee
  280. //client melee_b    1  randomsound embalm_pull 1 1
  281. //server melee_c    1  melee
  282. //client melee_c    1  randomsound embalm_rectract 1 1
  283. //server melee_unaim    2  movementsound
  284. //client melee_unaim    1  randomsound embalm_close 1 2
  285.  
  286.  
  287. // Pain Location Based Animations
  288. server pain1 painsound
  289. client pain1 first randomsound snd_pain 1 2
  290. server pain_back painsound
  291. client pain_back first randomsound snd_pain 1 2
  292. server pain_chest painsound
  293. client pain_chest first randomsound snd_pain 1 2
  294. server pain_head painsound
  295. client pain_head first randomsound snd_pain 1 2
  296. server pain_left_arm painsound
  297. client pain_left_arm first randomsound snd_pain 1 2
  298. server pain_left_leg painsound
  299. client pain_left_leg first randomsound snd_pain 1 2
  300. server pain_right_arm painsound
  301. client pain_right_arm first randomsound snd_pain 1 2
  302. server pain_right_leg painsound
  303. client pain_right_leg first randomsound snd_pain 1 2
  304.  
  305.  
  306. // Death Location Based Animations
  307. server death1 first deathsound
  308. client death1 first randomsound snd_death 1 2
  309. client death1 14 randomsound snd_bodyfall 1 4
  310. client death1 22 randomsound snd_partfall 1 4
  311.  
  312. server death2 first deathsound
  313. client death2 first randomsound snd_death 1 2
  314. client death2 10 randomsound snd_bodyfall 1 4
  315.  
  316. server death3 first deathsound
  317. client death3 first randomsound snd_death 1 2
  318. client death3 10 randomsound snd_bodyfall 1 4
  319.  
  320. server death4 first deathsound
  321. client death4 first randomsound snd_death 1 2
  322. client death4 13 randomsound snd_bodyfall 1 4
  323.  
  324. server death4 first deathsound
  325. client death4 first randomsound snd_death 1 2
  326. client death4 13 randomsound snd_bodyfall 1 4
  327.  
  328. server death5 1 deathsound
  329. client death5 1 randomsound snd_death 1 2
  330. client death5 5 randomsound snd_bodyfall 1 4
  331.  
  332. // Crouching Pain Location Based Animations
  333.  
  334. // Crouching Death Location Based Animations
  335.  
  336. // Optional Animations
  337.  
  338. // Scripted Animations
  339. client step_punch 2 footstep
  340. server step_punch 2 movementsound
  341. client step_punch 7 footstep
  342. server step_punch 7 movementsound
  343. // This also needs a sound for contact perhaps?
  344.